package com.lyj.springcloud.entities;

public class RealService extends ServiceImpl {
    @Override
    public void initParams(Payment payment) {
        payment.setId("1111");
        payment.setSeqNo("ssssss");
        System.out.println("RealService >>>>>>>>>>>>> 初始化支付信息");
        speak();
    }
    public void speak() {
        System.out.println(" RealService : hello ");
    }
}
class TT extends RealService {
    @Override
    public void speak() {
        System.out.println("TT : hello ");
    }
}
